package com.dy.dept.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dy
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_deptinfo")
public class Deptinfo extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "info_id", type = IdType.AUTO)
    private Integer infoId;

    private Integer fkDeptId;

    private String infoJob;

    private Integer infoSalary;

    private LocalDate infoTime;

    @TableField(exist = false)
    private Dept dept;
}
